/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.service;

import com.persistencia.domain.Persona;
import java.util.List;

/**
 *
 * @author SHERLY
 */
public interface PersonaService {
    
    void registrarPersona(Persona persona) throws Exception;

    void actualizarPersona(Persona persona) throws Exception;
	   
    void eliminarPersona(Object id) throws Exception;
	
    Persona obtenerPersonaPorId(Object id) throws Exception;
	
    List<Persona> obtenerListaPersonas() throws Exception;
    
    public int personaMaxId();
}
